﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using T.AuditField;

namespace T.Vehicleservice.Domain.T.ViolationRecords.Model
{
    /// <summary>
    /// 违章记录
    /// </summary>
    [Table("ViolationRecord")]
    public class ViolationRecord: AuditFields
    {
        /// <summary>
        /// 违章记录ID
        /// </summary>
        [Key]
        public int ViolationRecordsId { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 违章标题
        /// </summary>
        public string? ViolationTitle {  get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string? LicensePlateNumber { get; set; }
        /// <summary>
        /// 违章人
        /// </summary>
        public string? Violators {  get; set; }
        /// <summary>
        /// 违章日期
        /// </summary>
        public DateTime? ViolationDate {  get; set; }
        /// <summary>
        /// 违章内容
        /// </summary>
        public string? ViolationContent {  get; set; }
        /// <summary>
        /// 处罚结果
        /// </summary>
        public string? PunishmentContent {  get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Notes {  get; set; }

    }
}
